package kr.hkit.androidcomplete01.chaptert11;

import kr.hkit.androidcomplete01.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

public class ArrowButtonEx extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch11_arrowbutton);
	}
	
	public void mOnClick(View v){
		switch(v.getId()){
		case R.id.ch11arrow1:
			Toast.makeText(this, "Arrow1 clicked", 0).show();
			break;
			
		case R.id.ch11arrow2:
			Toast.makeText(this, "Arrow2 clicked", 0).show();
			break;
			
		case R.id.ch11arrow3:
			Toast.makeText(this, "Arrow3 clicked", 0).show();
			break;	
		}
		
	}
}
